package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 上传oss文件对象 user_file
 * 
 * @author ruoyi
 * @date 2024-09-25
 */
public class UserFile extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 自增id */
    private Long fileId;

    /** 手机号 */
    @Excel(name = "手机号")
    private String phone;

    /** 文件名 */
    @Excel(name = "文件名")
    private String fileName;

    /** 文件路径 */
    @Excel(name = "文件路径")
    private String filePath;

    /** 上传分类:0-自拍照片,1-检测照片 */
    @Excel(name = "上传分类:0-自拍照片,1-检测照片")
    private Long purpose;

    /** 文件md5 */
    @Excel(name = "文件md5")
    private String fileMd5;

    /** 图片脸型 */
    @Excel(name = "图片脸型")
    private String faceShape;

    public void setFileId(Long fileId) 
    {
        this.fileId = fileId;
    }

    public Long getFileId() 
    {
        return fileId;
    }

    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }

    public void setFileName(String fileName) 
    {
        this.fileName = fileName;
    }

    public String getFileName() 
    {
        return fileName;
    }

    public void setFilePath(String filePath) 
    {
        this.filePath = filePath;
    }

    public String getFilePath() 
    {
        return filePath;
    }

    public void setPurpose(Long purpose) 
    {
        this.purpose = purpose;
    }

    public Long getPurpose() 
    {
        return purpose;
    }

    public void setFileMd5(String fileMd5) 
    {
        this.fileMd5 = fileMd5;
    }

    public String getFileMd5() 
    {
        return fileMd5;
    }

    public void setFaceShape(String faceShape) 
    {
        this.faceShape = faceShape;
    }

    public String getFaceShape() 
    {
        return faceShape;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("fileId", getFileId())
            .append("phone", getPhone())
            .append("fileName", getFileName())
            .append("filePath", getFilePath())
            .append("purpose", getPurpose())
            .append("fileMd5", getFileMd5())
            .append("faceShape", getFaceShape())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
